Skip to content

Conversation

@JelleZijlstra
Copy link
Member

Fixes a pytype issue from #1720.

Fixes a pytype issue from #1720.
import sys
if sys.version_info >= (3,):
from enum import Enum

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move the definition of PlistFormat below into this "if" block, so you have all Enum related code in one block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@matthiaskramm matthiaskramm merged commit 97be335 into master Nov 10, 2017
@JelleZijlstra JelleZijlstra deleted the plistlib-enum branch November 10, 2017 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants